package com.zhuanzhuan.hero.user.dto.backend;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Date;

/**
 * @ClassName CreateBusinessLabelDTO
 * @Description
 * @Author hanjunjun
 * @Date 2024/6/18 17:20
 */
@Data
public class CreateBusinessLabelDTO {

    @NotBlank
    @Size(max = 20, message = "标签名最多20字")
    private String labelName;

    @NotBlank
    private String labelIcon;

    @NotNull
    private Long operaterUid;

    @NotNull
    private Date operateTime;
}
